export interface ITenant {
  backgroundUrl: string;
  domain: string;
  tenantId: string;
}

/* eslint-disable camelcase */
export interface IUser {
  access_token: string;
  token_type: string;
  refresh_token: string;
  expires_in: number;
  scope: string;
  tenant_id: string;
  user_name: string;
  real_name: string;
  avatar: string;
  client_id: string;
  role_name: string;
  license: string;
  post_id: string;
  user_id: string;
  role_id: string;
  nick_name: string;
  oauth_id: string;
  detail: IDetail;
  dept_id: string;
  account: string;
  jti: string;
}

export interface IDetail {
  type: string;
}
